'use strict';

let [reqUrl, params] = window.location.href.split('?')
let seachParams = new URLSearchParams(params);
let id = seachParams.get('id');

if (id) {
    $('h2').text('修改');  
}

console.log(id);

$('#save').click(() => {
    save(id);
})
